package org.netEase.controller;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.netEase.dao.zhanghuDao;
import org.netEase.dao.impl.zhanghuimpl;
import org.netEase.entity.zhanghu;

@WebServlet(urlPatterns= { "/backstageManager/orderquery.shtml" })
public class OrderquerySelect extends HttpServlet {
	@Override
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		zhanghuDao zh=new zhanghuimpl();
		List<zhanghu> list=zh.getAid();
		request.setAttribute("list",list);
		request.getRequestDispatcher("/backstageManager/Orderquery.jsp").forward(request, response);
		
	}
	@Override
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		super.doPost(request, response);
	}

}
